// 运行时配置
import '@/utils/flower.ts'; //引入程序
import { request as requestFn } from '../config/request';
import { getInitialState as getInitial } from './initial-state';
import { layout as layoutFn } from './layouts/config';
import './styles/index.less';

// 全局初始化数据配置，用于 Layout 用户信息和权限初始化
// 更多信息见文档：https://umijs.org/docs/api/runtime-config#getinitialstate

export const getInitialState = getInitial; // 运行时初始化配置

export const layout = layoutFn; // layout 配置

export const request = requestFn;
